-
Notifications
You must be signed in to change notification settings - Fork 813
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Indexer fixes and improvements #758
Conversation
This comment has been minimized.
This comment has been minimized.
Could you add |
I'm actually thinking we can combine |
0f23529
to
2fc8439
Compare
It would be really nice to have some indexer information returned from the API. A call to
As @braydonf pointed out, endpoints will return If an Would be happy to open an issue if this is out of context for this particular PR |
031a939
to
4db8d99
Compare
@tynes The indexer status has been added, along with the logging of the current status of the indexer, this should help with checking if the indexing is enabled. |
c07229b
to
e61db8c
Compare
There was a rare case that a block could be incorrectly added to the indexer if the indexer was disabled during a reorg to a height that matched the height that was expected, and the `sync` method for the indexer wasn't called that would detect the reorg.
Deprecation details are in CHANGELOG.md
Rebased on latest master branch. Further documentation updates are at bcoin-org/bcoin-org.github.io#145. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK.
Indexer fixes and improvements
This adds a new module
indexer
for indexing blocks, and includes several fixes and improvements:txindex
from being around 100% of all blocks, down to around 10% of the blocks (Disk I/O efficiency improvements #585).addrindex
and reduces disk usage (CPU exhaustion with address index HTTP API queries #589).The following issues are closed:
Includes commits from @tuxcanfly, @braydonf and @nodar-chkuaselidze.